from django.http import HttpResponse
from django.shortcuts import render, reverse


# Create your views here.


# 测试路由查找顺序的视图
from django.urls import reverse


def say(request):
    return HttpResponse('say')

def sayha(request):
    return HttpResponse('sayha')


def index(request):
    # 测试视图和路由
    print(reverse('users:index'))
    return HttpResponse('hello')


# 测试顺序